package com.yuantu.judiciary.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 个人尽调报告-案件
 *
 * @author syw
 * @since 2023-07-26
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("个人尽调报告-案件")
public class PerReportCaseDTO {
    @ApiModelProperty("完成")
    private Integer finish;
    @ApiModelProperty("未完成")
    private Integer unFinish;
    private Integer total;

    public PerReportCaseDTO(CaseNumDTO data) {
        this.total = data.getTotal();
        this.unFinish = data.getNotClose();
        this.finish = data.getClose();
    }
}
